class Octopus {
    public readonly numberOfLegs: number = 8;
    // 参数属性
    constructor (public readonly name: string) {
        
    }
}

export default Octopus